<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:p="http://primefaces.prime.com.tr/ui">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    
    <f:view>
        
        <h:form id="UserForm" prependId="false" >
            
                   <p:growl id="growl" showDetail="true" life="3000" /> 
                         <p:panel header="Thêm Mới Môn Học" style="background-color: #ebf3fd;">  
                            <h:panelGrid columns="2" cellpadding="5" >  
                                         <h:outputLabel for="username" value=" Mã Môn Học : " />  
                                         <h:outputLabel value="#{monhocController.bean.mamh}"   id="username"   />  
                                         <h:outputLabel for="tenmh" value="Tên Môn Học : * " />  
                                         <h:inputText value="#{monhocController.bean.tenmh}"   id="tenmh" required="true" label="Tên Môn Học" />  
                                         <h:outputLabel for="ghiChu" value=" Ghi Chú :  " />  
                                         <h:inputTextarea    value="#{monhocController.bean.ghiChu}"   id="ghiChu" required="true" label="Ghi Chú " /> 
                                     <f:facet name="footer">  
                                         <h:commandButton value=" Done " action="#{monhocController.movePageShow(monhocController.bean)}"   />               
                                     </f:facet>  
                           </h:panelGrid> 
                       </p:panel> 
                </h:form> 
       </f:view>
</html>

